package com.stx.day0922;

/**
 * packageName com.stx.day0922
 *
 * @author YangYi
 * @className NewArithmeticException
 * @date 2025/9/22
 * @description TODO
 */
public class NewArithmeticException extends ArithmeticException{

    /**
     * 自定义异常
     * @param errorMsg
     */
    public NewArithmeticException(String errorMsg){
        super(errorMsg);
        System.out.println("自定义异常....");
    }
}
